package com.gqz.defect.vo;

import com.alibaba.fastjson2.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.gqz.common.core.annotation.Excel;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;


@Data
@AllArgsConstructor
@NoArgsConstructor
public class EnDefectsSheetOperateVo implements Serializable {


    /**
     * 主键
     **/
    @Excel(name = "主键", width = 20)
    private String id;

    /**
     * 任务编号
     **/
    @Excel(name = "任务编号", width = 20)
    private String taskNo;

    /**
     * 创建时间
     **/
    @Excel(name = "创建时间", width = 25, dateFormat = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JSONField(name = "createTime", format = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    /**
     * 操作时间
     **/
    @Excel(name = "操作时间", width = 25, dateFormat = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JSONField(name = "optTime", format = "yyyy-MM-dd HH:mm:ss")
    private Date optTime;

    /**
     * 操作人
     **/
    @Excel(name = "操作人", width = 20)
    private String optPersonId;

    /**
     * 操作人
     **/
    @Excel(name = "操作人", width = 20)
    private String optPersonName;

    /**
     * 操作状态
     **/
    @Excel(name = "操作状态", width = 10)
    private String optStatus;

    /**
     * 操作状态
     **/
    @Excel(name = "操作状态", width = 20)
    private String optStatusName;

}
